package cn.xmstore.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author ZhangZL
 * @date 2021/8/22  19:04
 * 产品属性表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Productattr {
    private Integer id; //主键id
    private Integer productsizeId; //外键关联产品规格表主键id字段
    private String  color; //产品属性（黑色/白色/流光幻彩）
    private BigDecimal price;//产品价格
    private Integer stock;//产品库存

}
